<!--电视购买页面文件夹 -->
<template>
  <div class="shopdianshi">
    <div class="box">
      <div class="box-z">
        <div class="box-left">
          <div class="block">
            <span class="demonstration"></span>
            <el-carousel height="150px">
              <el-carousel-item v-for="item in nba" :key="item.id">
                <img :src="item.url" alt>
              </el-carousel-item>
            </el-carousel>
          </div>
        </div>

        <div class="box-right">
          <h2>Redmi 智能电视 MAX 98''</h2>
          <p>
            <font>「预计支付后30日内发货，免费上门勘测，定制产品非质量问题退货/拒收，需承担3000元逆向物流费」</font>
            客厅里的巨幕影院 大视野带来超震撼的沉浸感/4K HDR超高清画质 逼真画面
          </p>
          <p class="xmzy">小米自营</p>
          <span>19999元</span>
          <div class="activity-box">
            <div class="flow">
              <span class="flow-tag">赠完即止</span>
              <span class="flow-name">买赠29.9元小米环保袋</span>
            </div>
            <div class="flow">
              <span class="flow-tag">赠完即止</span>
              <span class="flow-name">买赠29.9元小米环保袋</span>
            </div>
            <div class="flow">
              <span class="flow-tag">赠完即止</span>
              <span class="flow-name">买赠29.9元小米环保袋</span>
            </div>
          </div>
          <div class="activity-box2">
            <div class="address-info">
              <span>广东</span>
              <span>广州市</span>
              <span>天河区</span>
              <span>达内培训</span>
              <span class="span-5">修改</span>
            </div>
            <span class="span-6">有现货</span>
          </div>
          <div class="title">选择尺寸</div>
          <div class="kk">
            <button>98英寸</button>
          </div>

          <div class="title">选择颜色</div>
          <div class="kk2">
            <button>黑色</button>
          </div>
          <div class="activity-box2">
            <div class="box2-up">
              <p>Redmi 智能电视 MAX 98''</p>
              <p>19999元</p>
            </div>
            <div class="box2-down">
              <p>总计:19999元</p>
            </div>
          </div>
          <div class="btn-box">
            <div class="btn-hover">
              <div class="sale-btn">
                <!-- <span class="icon iconfont">&#xe600;</span> -->
                <a href>加入购物车</a>
              </div>
            </div>
            <div class="btn-hover2">
              <div class="favorite-btn">
                <a href>喜欢</a>
              </div>
            </div>
          </div>
          <div class="after-sale-info">
            <a href>小米自营</a>
            <a href>小米发货</a>
            <a href>7天无理由退货</a>
            <a href>运费说明</a>
            <a href>企业信息</a>
          </div>
          <div class="after-sale-info">
            <a href>七天价格保护</a>
          </div>
        </div>
      </div>
      <div class="title-foot">
        <a href>价格说明</a>
        <div class="title-foot-img">
          <img
            src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/a482afa34053b1b32ece1023475af7fb.jpeg"
            alt
          >
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "shopdianshi",
  data() {
    return {
        showmode: true,
      nba: [
        {
          id: "1",
          url: require("../../public/imgs/lunbo/d1.jpg")
        },
        {
          id: "2",
          url: require("../../public/imgs/lunbo/d2.jpg")
        },
        {
          id: "3",
          url: require("../../public/imgs/lunbo/d3.jpg")
        },
        {
          id: "4",
          url: require("../../public/imgs/lunbo/d4.jpg")
        }
      ]
    };
  },

  components: {},
 
};
</script>
<style lang='less' scoped>
.box {
  width: 1400px;
  height: 2203px;
  margin-right: auto;
  margin-left: auto;
}
.box-z {
  display: flex;
}
.box-right {
  width: 600px;
  h2 {
    width: 690px;
    font-size: 30px;
  }
  p {
    color: #b0b0b0;
    margin: 2px;
  }
  font {
    display: block;
    color: rgb(255, 74, 0);
    font-size: 12px;
    margin-bottom: 8px;
  }
  .xmzy {
    padding: 12px 0 10px;
    color: #ff6700;
    font-size: 18px;
  }
  span {
    padding: 12px 0 10px;
    color: #ff6700;
    font-size: 18px;
  }
}
.activity-box {
  height: 107px;
  padding: 10px 0 5px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  margin-top: 15px;
}

.flow {
  margin-top: 8px;
  .flow-tag {
    width: 80px;
    padding: 5px 10px;
    text-align: center;
    background: #ff6700;
    color: #fff;
    font-size: 13px;
  }
  .flow-name {
    width: 430px;
    line-height: 26px;
    margin-left: 5px;
    color: #333;
    font-size: 15px;
  }
}
.activity-box2 {
  background-color: #fafafa;
  height: 107px;
  padding: 10px 0 5px;
  border: 1px solid #e0e0e0;
  margin-top: 15px;
  .span-6 {
    display: inline-block;
    font-size: 15px;
    margin-left: 18px;
    margin-top: -20px;
  }
  .address-info {
    margin-left: 15px;
    .span-5 {
      color: #ff6700;
    }
  }
  .address-info span {
    display: inline-block;
    font-size: 15px;
    color: black;
    text-align: center;
    margin: 5px;
  }
  .box2-up {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    p {
      display: block;
      color: #616161;
      font-size: 16px;
      margin-top: 10px;
    }
  }
  .box2-down {
    margin-top: 25px;
    margin-left: 72px;
    p {
      display: block;
      color: #ff6700;
      font-size: 24px;
    }
  }
}
.title {
  font-size: 18px;
  margin: 20px 0;
  font-weight: bold;
}
.kk {
  display: flex;
  justify-content: space-between;
  :focus {
    border: 2px solid #ff6700;
    color: #ff6700;
  }
  button {
    border: #757575 1px solid;
    background-color: #fff;
    color: #757575;
    font-size: 15px;
    width: 340px;
    height: 46px;
    margin: 15px;
  }
}
.kk2 {
  :focus {
    border: 2px solid #ff6700;
    color: #ff6700;
  }
  button {
    border: #757575 1px solid;
    background-color: #fff;
    color: #757575;
    font-size: 15px;
    width: 340px;
    height: 46px;
    margin: 15px;
  }
}
.btn-box {
  width: 600px;
  height: 54px;
  margin: 10px 0 20px 0;
  display: flex;
  .btn-hover :hover {
    background-color: orangered;
  }
  .btn-hover2 :hover {
    background-color: slategray;
  }

  .sale-btn {
    width: 298px;
    height: 52px;
    font-size: 16px;
    background-color: #ff6700;
    text-align: center;
    line-height: 52px;
    a {
      color: #fafafa;
    }
  }
  .favorite-btn {
    width: 142px;
    height: 52px;
    font-size: 16px;
    background-color: #b0b0b0;
    margin-left: 26px;
    text-align: center;
    line-height: 52px;
  }
  a {
    color: #fafafa;
  }
}
.after-sale-info {
  margin-top: 10px;
  a {
    margin: 20px 20px 20px 0;
    color: #b0b0b0;
    font-size: 18px;
  }
}
.title-foot {
  width: 100%;
  width: 1400px;
  height: 265px;
  margin-top: 20px;

  border: #757575 1px solid;
  a {
    display: block;
    font-size: 22px;
    margin: 15px 0 0 15px;
  }
}

</style>



<!--轮播图-->
<style scoped>
.box-left {
  margin-right: 40px;
  width: 800px;
  height: 800px;
}

.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
.block .el-carousel >>> .el-carousel__container {
  height: 800px !important;
}
</style> 
